package com.assignwork.dto;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * @ClassName WorkArrangeShipCabinInfoSubmitDTO
 * @Description 航运配工作业舱提交DTO
 * @Author dujianyu
 * @Date 2023/12/22 8:04
 */
@Data
public class WorkArrangeShipCabinInfoSubmitDTO {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "作业线ID")
    private Long assemblyLineId;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "昼夜计划ID")
    private Long planId;

    @ApiModelProperty(value = "辅助机械种类")
    private String supportMachineKind;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "辅助队")
    private Long supportMachineCorp;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "固机")
    private Long fixedMachineId;

    @ApiModelProperty(value = "作业舱1")
    private String realCabin1;

    @ApiModelProperty(value = "作业舱位置1")
    private String realHatch1;

    @ApiModelProperty(value = "作业舱和位置1")
    private String realCabinAndHatch1;

    @ApiModelProperty(value = "作业舱1")
    private String realCabin2;

    @ApiModelProperty(value = "作业舱位置1")
    private String realHatch2;

    @ApiModelProperty(value = "作业舱和位置1")
    private String realCabinAndHatch2;

    @ApiModelProperty(value = "")
    private String groupFg;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "作业量")
    private BigDecimal planTon;

    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "舱余吨")
    private BigDecimal cabinLeftTon;

    @ApiModelProperty(value = "船机数量")
    private Integer shipMachineryCount;

    @ApiModelProperty(value = "作业舱信息")
    List<WorkArrangeShipUnderMachineSubmitDTO> underMachines;

}
